//
//  QDNetWorkingAPI.h
//  ylh-app-primary-ios
//
//  Created by YueWen on 2018/11/29.
//  Copyright © 2018 巨商汇. All rights reserved.
//

#import "NWNetWorkingAPI.h"

NS_ASSUME_NONNULL_BEGIN

@protocol QDNetWorkingAPIAction <NWNetWorkingAPIAction>

@optional


/// 为'注: 当查询达不到数据的时候，后台也会返回 success:false 👎'适配
/// 如果是app 返回success:false ，则会优先执行该方法
- (void)networkingAPI:(NWNetWorkingAPI *)networkingAPI fail:(NSError *)error info:(nullable NSDictionary *)info;

@end

/// 青岛地铁通用API
@interface QDNetWorkingAPI : NWNetWorkingAPI

/// 更新的代理方法
@property (nonatomic, weak, nullable)id<QDNetWorkingAPIAction> delegate;

@end

NS_ASSUME_NONNULL_END
